/*
 * $Id: Semaphore.cc,v 1.1 2006-05-31 15:55:45 bacon Exp $
 */

#include <xpp/bas/Semaphore.h>

namespace xpp
{
	namespace bas
	{


		Semaphore::Semaphore (unsigned int init)
		{
			if (xp_sem_open(this) == XP_NULL)
			{
				XPP_THROW (SemaphoreException);
			}
		}

	}
}
